﻿//***********************************************************************
// Assembly         : IGolovkine.AoA.Tests
// Author           : Ilia
// Created          : 06-11-2011
//
// Last Modified By : Ilia
// Last Modified On : 01-04-2010
// Description      : 
//
// Copyright        : (c) Microsoft. All rights reserved.
//***********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IGolovkine.AoA.Tests
{
    public class MockMessageTransport : IMessageChannel
    {
        private readonly IChannel<Message> _channel;
        public MockMessageTransport(IChannel<Message> channel)
        {
            _channel = channel;
        }
        public IObservable<Message> Output
        {
            get { return _channel.Output; }
        }

        public IObserver<Message> Input
        {
            get { return _channel.Input; }
        }
    }
}
